package com.itheima.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import javax.persistence.Column;
import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "t_category_menu")
public class CategoryMenu implements Serializable {

    @Id
    @Column(name = "uid")
    private String uid;

    @Column(name = "name")
    private String name;
    @Column(name = "menu_level")
    private byte menuLevel;
    @Column(name = "summary")
    private String summary;
    @Column(name = "parent_uid")
    private String parentuid;
    @Column(name = "url")
    private String url;
    @Column(name = "icon")
    private String icon;
    @Column(name = "sort")
    private int sort;
    @Column(name = "status")
    private byte status;
    @Column(name = "create_time")
    private Date createTime;
    @Column(name = "update_time")
    private Date updateTime;
    @Column(name = "is_show")
    private byte isShow;
    @Column(name = "menu_type")
    private byte menuType;

}